public class CommandB : AbstractCommand{
    public CommandB(ServiceProvider serviceProvider) : base(serviceProvider){}

    public override void Execute(){
        serviceProvider.ServiceB();
    }
}